package exo2;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: naberrad
 * Date: 14/10/13
 * Time: 16:28
 * To change this template use File | Settings | File Templates.
 */
public abstract class Enseignant extends Personnel {

    private Date daterecrut;
    private double salaire;

    public Date getDaterecrut() {
        return daterecrut;
    }

    public double getSalaire() {
        return salaire;
    }

    public void setSalaire(double salaire) {
        this.salaire = salaire;
    }

    @Override
    public String toString() {
        return super.toString() + "Date recrutement " + this.daterecrut +
                ", Salaire " + this.salaire ;
    }
}
